<div class="cusform">
    <div class="info">
        <? $this->load->view('profile/left_menu') ?>
        <div class="info_r">
        <form action="<?=base_url()?>profile/sendcart" name="frnguoinhan" id="frnguoinhan" method="post">
            <div class="sub_info">Thông tin người nhận quà</div>
            <div class="receive">
                <ul>
                    <li class="lf_dk">Tên người nhận<span>*</span></li>
                    <li class="lr_dk">
                        <input type="text" size="55" value="" name="bl_name" id="bl_name">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Địa chỉ<span>*</span></li>
                    <li class="lr_dk">
                        <input type="text" size="55" value="" name="bl_address" id="bl_address">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Điện thoại<span>*</span></li>
                    <li class="lr_dk">
                        <input type="text" size="55" value="" name="bl_phone" id="bl_phone">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Email</li>
                    <li class="lr_dk">
                        <input type="text" size="55" value="" name="bl_email" id="bl_email">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Lời nhắn cho người nhận</li>
                    <li class="lr_dk">
                        <textarea name="bl_note"  id="bl_note" cols="42" rows="6"></textarea>
                    </li>
                </ul>
                <!--<ul class="clear">
                    <li class="lf_dk">&nbsp;</li>
                    <li class="lr_dk"><input name="bt_submit" type="submit" value="Đặt quà"></li>
                </ul>-->
                <div class="clear"></div>
                <div class="btnthanhtoan" style="text-align:center;">
                    <input type="submit" value="Đặt hàng" class="btndathang" />
                </div>
            </div>
            </div>
        </form>
    </div>
</div>
</div>
<script language="javascript">
	$('#frnguoinhan').validate({
		rules :{
			bl_name:"required",
			bl_address:"required",
			bl_phone:{"required":true, number:true},
		},
		messages : {
			bl_name:"",
			bl_address:"",
			bl_phone:"",
		}
	});
</script>